package com.aoip.telemetry.telemetry.quartz.mapper;

import com.aoip.telemetry.telemetry.entity.equipment.StOnlineStatusEntity;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author chenbai
 * @version 1.0
 * @date 2022/3/22 20:03
 */
@Mapper
@DS("telemetry")
public interface StOnlineStatusTaskMapper extends BaseMapper<StOnlineStatusEntity> {

    /**
     * 批量保存设备在线状态
     *
     * @param list 在线，非在线设备集合
     * @author chenbai
     * @date 2022/3/22
     **/
    void save(List<StOnlineStatusEntity> list);
}
